﻿using System;

public struct VectorXYZ
{
    public float X { get; set; }
    public float Y { get; set; }
    public float Z { get; set; }

    public override string ToString()
    {
        return X + "," + Y + "," + Z;
    }
    public static float Modulo(float X, float Y, float Z)
    {
        return (float)(Math.Sqrt((X * X) + (Y * Y) + (Z * Z)));
    }
    //public VectorXYZ(float X, float Y, float Z)
    //{
    //    this.X = X;
    //    this.Y = Y;
    //    this.Z = Z;
    //}
}
